changed the size of window