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

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

        // ignore observer
        self.ignoreObserver(true)
        
        // stop scroll view bounces for animation
        scrollView.bounces = false
        
        // call super start
        super.start()
        
