     
     @objc public func refresh() {
         if !shouldPerformWebRefreshAfterScrollViewDeceleration {
-            toolbarController.setToolbarButtons(enabled: false)
             updateRefreshOverlay(visible: true)
         }
         shouldPerformWebRefreshAfterScrollViewDeceleration = true

        if shouldPerformWebRefreshAfterScrollViewDeceleration {
            updateRefreshOverlay(visible: false)
            webView.scrollView.showsVerticalScrollIndicator = true
            toolbarController.setToolbarButtons(enabled: true)
            shouldPerformWebRefreshAfterScrollViewDeceleration = false
        }
    }

        UIViewPropertyAnimator.runningPropertyAnimator(withDuration: duration, delay: 0, options: [.curveEaseIn], animations: {
            self.refreshOverlay.alpha = alpha
        })
        toolbarController.setToolbarButtons(enabled: !visible)
    }
    
    // MARK: Overrideable functionality
