This can be replaced by the three custom resize events (in a different "on" call without the selector).