added contentViewInLandscapeOffsetCenterY and contentViewInPortraitOffsetCenterY