modified the size of the window