resized main window