 
         if (!decelerate) {
             removeTranslationAndSetLayout()
+        } else {
+            isRefreshBlockedDueToMomentumScroll = true
         }
     }
 

var refreshControl:ODRefreshControl?
// stop refresh interaction while animating
var isInRefreshQuietPeriod:Bool = false


extension BraveScrollController: UIScrollViewDelegate {
    func scrollViewDidScroll(scrollView: UIScrollView) {
        guard let webView = browser?.webView else { return }
        let position = -webView.convertPoint(webView.frame.origin, fromView: nil).y
        if contentOffset.y < 0 && !isInRefreshQuietPeriod && !isLayoutPinnedToWindowExtents() {
            if refreshControl == nil {
                refreshControl = ODRefreshControl(inScrollView: getApp().rootViewController.view)
                refreshControl?.backgroundColor = UIColor.blackColor()

            scrollView.contentOffset.y = 0
            scrollView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0)
        }
        isRefreshBlockedDueToMomentumScroll = false
    }
    #endif
    func scrollViewShouldScrollToTop(scrollView: UIScrollView) -> Bool {
