changed the size of the window