         super.viewDidLoad()
 
         currentOption = .MeetGenius
-
         segmentedControl.selectedSegmentIndex = currentOption.rawValue
 
         segmentedControl.rx_value

        }

        self.dataSource = self

        if traitCollection.forceTouchCapability == .Available {
            registerForPreviewingWithDelegate(self, sourceView: view)

    }
}

// MARK: - UIPageViewControllerDelegate

extension DiscoverContainerViewController: UIPageViewControllerDelegate {

    func pageViewController(pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {

        guard completed else {
            return
        }

        if previousViewControllers.first == meetGeniusViewController {
            currentOption = .FindAll
        } else if previousViewControllers.first == discoverViewController {
            currentOption = .MeetGenius
        }
        segmentedControl.selectedSegmentIndex = currentOption.rawValue
    }
}


// MARK: - UIViewControllerPreviewingDelegate

extension DiscoverContainerViewController: UIViewControllerPreviewingDelegate {
