Button function to change the size of the main window.