                 imageController.closeAnimation(closeAnimationDuration, completion: { [weak self] finished in
                     
                     self?.innerClose()
-                })
+                    })
             }
         }
         else {

    }
    
    func innerClose() {
     
        self.modalTransitionStyle = .CrossDissolve
        self.dismissViewControllerAnimated(true, completion: nil)
    }

    private var galleryPagingMode = GalleryPagingMode.Standard
    var currentIndex: Int
    var previousIndex: Int
    private var isHeaderFooterHidden = false
    
    //LOCAL CONFIG
    private let configuration: GalleryConfiguration
