 open class ESRefreshHeaderView: ESRefreshComponent {
     fileprivate var previousOffset: CGFloat = 0.0
     fileprivate var scrollViewInsets: UIEdgeInsets = UIEdgeInsets.zero
-    
+    fileprivate var scrollViewBounces: Bool = true
+
     open var lastRefreshTimestamp: TimeInterval?
     open var refreshIdentifier: String?
     

            guard let weakSelf = self else {
                return
            }
            weakSelf.scrollViewInsets = weakSelf.scrollView?.contentInset ?? UIEdgeInsets.zero
        }
    }

        insets.top += animator.executeIncremental
        
        // We need to restore previous offset because we will animate scroll view insets and regular scroll view animating is not applied then.
        scrollView.contentOffset.y = previousOffset

        UIView.animate(withDuration: 0.2, delay: 0.0, options: .curveLinear, animations: {
            scrollView.contentInset = insets
            scrollView.contentOffset.y = -insets.top
