Custom view controller container for swiching sub view controller with a segmented control