     
     func handleZoomScrollViewTap(gestureRecognizer:UITapGestureRecognizer){
         
-        if let activeButton = activeButton {
-            self.setActionViewHidden(Bool(activeButton.alpha))
-        }
+        self.dismissViewControllerAnimated(true, completion: nil)
         
     }
 

                    let heightImageView = CGRectGetHeight(imageView.frame)
                    let contentOffsetY = scrollView.contentOffset.y
                    switch panGestureRecognizer.state {
                    case .Began:
                        if let _ = activeButton{
                            self.setActionViewHidden(true)
                        }
                    case .Changed:
                        //根据imageView移动的距离，设置透明
                        let yOffset = -panGestureRecognizer.translationInView(scrollView).y

    private var activeButton:UIButton?
    private var activeButtonSize = CGSize(width: 50, height: 50)
    private let activeButtonPadding:CGFloat = 10.0
    
    
    /**
