Manage resize events.