resized the windows