Change main window layout