fixed layout of the main window