Improved vertical resizing