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

            closeButton?.widthAnchor.constraint(equalToConstant: 52.0),
            ].map { $0?.isActive = true }
    }
    
    func layoutPageControl() {
        pageControl.translatesAutoresizingMaskIntoConstraints = false
        let constraints = [

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

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