Added slightly more control over layout to accommodate specific cases where the subclass needs to insert an element above or below the page view controller.