 
     override public func layoutSubviews() {
         super.layoutSubviews()
-        updateWebViewScrollViewInsets()
-    }
-    
-    private func needsUpdateForInsets(adjustedInsets: UIEdgeInsets) -> Bool {
+        updateContentInsets()
+    }
+    
+    private func needsUpdateForContentInsets(adjustedInsets: UIEdgeInsets) -> Bool {
         guard let scrollView = webView?.scrollView else { return false }
         return (scrollView.contentInset.top != adjustedInsets.top && adjustedInsets.top != 0) ||
             (scrollView.contentInset.bottom != adjustedInsets.bottom && adjustedInsets.bottom != 0)
     }
     
-    private func updateContentInsets(adjustedInsets: UIEdgeInsets) {
-        if let scrollView = webView?.scrollView where needsUpdateForInsets(adjustedInsets) && !isRefreshing {
+    private func updateWebViewScrollViewInsets(adjustedInsets: UIEdgeInsets) {
+        if let scrollView = webView?.scrollView where needsUpdateForContentInsets(adjustedInsets) && !isRefreshing {
             scrollView.scrollIndicatorInsets = adjustedInsets
             scrollView.contentInset = adjustedInsets
         }
     }
 
-    private func updateWebViewScrollViewInsets() {
-        updateContentInsets(contentInset ?? hiddenScrollView.contentInset)
+    private func updateContentInsets() {
+        updateWebViewScrollViewInsets(contentInset ?? hiddenScrollView.contentInset)
     }
 
     private func addFillConstraintsForSubview(view: UIView) {

    public var webView: WKWebView?
    public var contentInset: UIEdgeInsets? {
        didSet {
            updateWebViewScrollViewInsets()
        }
    }
    private weak var visitable: Visitable?

        self.visitable = visitable
        addSubview(webView)
        addFillConstraintsForSubview(webView)
        updateContentInsets()
        installRefreshControl()
        showOrHideWebView()
    }
