         super.willMoveToSuperview(newSuperview)
         if superview != nil && newSuperview == nil {
             let scrollView = self.superview as! UIScrollView
-            if scrollView.showPullToRefresh && isObserving {
+            if scrollView.enablePullToRefresh && isObserving {
                 scrollView.removeObserver(self, forKeyPath: "contentOffset")
                 scrollView.removeObserver(self, forKeyPath: "contentSize")
                 scrollView.removeObserver(self, forKeyPath: "frame")

    func stopAnimating() {
        activityIndicatorView.stopAnimating()
        state = .Stopped
    }
    
    private func resetScrollViewContentInset() {

            shapeLayer.path = path.CGPath
        }
        
        if state != .Stopped {
            breakWaterDrop()
        } else {
            // before triggered
