Resized the window.