     }
 
     private func setupNavigationBar() {
-        guard stackNavBars.isEmpty else {
-            return
-        }
-        guard navigationBarShouldNotExist == false else {
+        guard stackNavBars.isEmpty || !navigationBarShouldNotExist else {
             return
         }
         guard let _ = datasource?.navigationBarDataForPageIndex?(0) else {

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


        }
        currentStackVC = stackPageVC[stackPageVC.indexOf(pageViewController.viewControllers!.first!)!]
    }
}

