Handle resizing content views.