More efficient window resizing vertically.