       setViewControllers([viewController],
         direction: .Forward,
         animated: true,
-        completion: nil)
+        completion: {
+          [unowned self] (finish: Bool) -> Void in
+          self.pagesDelegate?.pageViewController(self,
+            setViewController: viewController,
+            atPage: currentIndex)
+        })
       if setNavigationTitle {
-        title = viewController.title
+        //title = viewController.title
       }
     }
   }

  lazy var pages = Array<UIViewController>()

  public private(set) var currentIndex = 0

  public convenience init(_ pages: [UIViewController],
    transitionStyle: UIPageViewControllerTransitionStyle = .Scroll,

    }
  }

  public func pageViewController(pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [AnyObject], transitionCompleted completed: Bool) {
    if completed {
      pagesDelegate?.pageViewController(self, setViewController: pages[currentIndex], atPage: currentIndex)
    }
  }
}

// MARK: Private methods
