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

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

            scrollView.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 0.0),
            ].map { $0.isActive = true }
    }

    func layoutCloseButton() {
        closeButton?.translatesAutoresizingMaskIntoConstraints = false
        let constraints = [
