fit main window in to screen