         return nil
     }
     
-    func updateCaption() {
+    fileprivate func updateCaption() {
 
         if usingImageType == .Photo {
             if imageResources()!.count > 0 {

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


    }
    
    fileprivate func generateCurrentPage() {

        var page = Int(round(scrollView.contentOffset.x / scrollView.frame.size.width))
        if page < 0 {
