     
     // photo's paging
     private var visiblePages = [SKZoomingScrollView]()//: Set<SKZoomingScrollView> = Set()
+    private var recycledPages = [SKZoomingScrollView]()
+    
     private var initialPageIndex: Int = 0
     private var currentPageIndex: Int = 0
     

        
        // reset local cache
        visiblePages.removeAll()
        
        // set content offset
        pagingScrollView.contentOffset = contentOffsetForPageAtIndex(currentPageIndex)

        }
    }
    
    public override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        recycledPages.removeAll()
    }
    
    // MARK: - set startap values
    private func setStartupValue() {
        startOrientation = UIApplication.sharedApplication().statusBarOrientation.rawValue
