allow resizing of main window