         
     }
     
-    fileprivate func closePhotoSlider(up:Bool) {
+    fileprivate func closePhotoSlider(up: Bool) {
         
         if closeAnimating == true {
             return

            pageControl.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 0.0),
            ].map { $0.isActive = true }
    }
    
    func layoutCaptionLabel() {
        captionLabel.translatesAutoresizingMaskIntoConstraints = false
        let constraints = [

// MARK: - Setup Layout

fileprivate extension ViewController {

    func layoutScrollView() {
        scrollView.translatesAutoresizingMaskIntoConstraints = false
        let constraints = [
