resize main window is now at the end of the page.