FIXED resizing of window