Added an option to resize the content view instead of sliding it over.