animated pagination using UISegmentedControl