Make main window resizable