allow resizing the window