 
 class PhotosViewController: UIViewController {
 
-    private lazy var pageViewController = UIPageViewController()
+    private lazy var pageViewController: UIPageViewController = {
+        let vc = UIPageViewController(
+            transitionStyle: .Scroll,
+            navigationOrientation: .Horizontal,
+            options: [UIPageViewControllerOptionInterPageSpacingKey: 16])
+        vc.dataSource = self
+        vc.delegate = self
+        return vc
+    }()
 
     private var currentPhotoViewController: PhotoViewController?
 


        //overlayView...

        
    }
    

    }
}

extension PhotosViewController: UIPageViewControllerDataSource {

    func pageViewController(pageViewController: UIPageViewController, viewControllerBeforeViewController viewController: UIViewController) -> UIViewController? {

        // TODO
        return nil
    }

    func pageViewController(pageViewController: UIPageViewController, viewControllerAfterViewController viewController: UIViewController) -> UIViewController? {
        // TODO
        return nil
    }
}

extension PhotosViewController: UIPageViewControllerDelegate {

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

        // TODO
    }
}


