window can now be resized vertically as requested by dawing it