Hi,
in script we can create multiple main windows. so create one main window for bottom text or for item data you are using main window right so in the same main window you can add it.
add the below condition in that mainwindow.
whenever the page and total no of pages are same then it wont display, i.e last page.
Thanks,
Sree