main window position changes