Resize happens on the window object.