[resizeWindow] do things when you resize the window