Adding resizing of windows