resizing the program window and workspaces