         currentStackVC = stackPageVC[currentIndex + 1]
         pageViewController.setViewControllers([currentStackVC], direction: UIPageViewControllerNavigationDirection.Forward, animated: true, completion: nil)
     }
-
 }
 
 extension EZSwipeController: UIPageViewControllerDataSource {

    }

    private func setupDefaultNavigationBars(pageTitles: [String]) {
        guard navigationBarShouldNotExist == false else {
            return
        }

        var navBars = [UINavigationBar]()
        for index in 0..<pageTitles.count {
            let navigationBar = UINavigationBar(frame: CGRect(x: 0, y: 0, width: Constants.ScreenWidth, height: Constants.navigationBarHeight))
            navigationBar.barStyle = UIBarStyle.Default
            navigationBar.barTintColor = Constants.lightGrayColor

            let navigationItem = UINavigationItem(title: pageTitles[index])
            navigationItem.hidesBackButton = true
            navigationItem.leftBarButtonItem = nil
            navigationItem.rightBarButtonItem = nil

    public var titleButton: UIButton?
    public var currentStackVC: UIViewController!
    public var currentVCIndex: Int {
        return stackPageVC.indexOf(currentStackVC)!
    }
    public var datasource: EZSwipeControllerDataSource?

