Make sticky header react to resize events.