     public var displayDeleteButton = false
 
     // actions
-    private var actionSheet: UIActionSheet!
     private var activityViewController: UIActivityViewController!
     
     // tool for controls

        
    }
    
    // MARK: UIActionSheetDelegate
    public func actionSheet(actionSheet: UIActionSheet, didDismissWithButtonIndex buttonIndex: Int) {
        if actionSheet == self.actionSheet {
            self.actionSheet = nil
            
            if buttonIndex != actionSheet.cancelButtonIndex {
                self.delegate?.didDismissActionSheetWithButtonIndex?(buttonIndex, photoIndex: currentPageIndex)
            }
        }
    }
    
    // MARK: -  UIScrollView Delegate
    public func scrollViewDidScroll(scrollView: UIScrollView) {
        guard isViewActive else {

public let SKPHOTO_LOADING_DID_END_NOTIFICATION = "photoLoadingDidEndNotification"

// MARK: - SKPhotoBrowser
public class SKPhotoBrowser: UIViewController, UIScrollViewDelegate {
    
    final let pageIndexTagOffset: Int = 1000
    // animation property
