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


    override public func layoutSubviews() {
        super.layoutSubviews()
        updateWebViewScrollViewInsets()
    }
    
    private func needsUpdateForInsets(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 {
            scrollView.scrollIndicatorInsets = adjustedInsets
            scrollView.contentInset = adjustedInsets
        }
    }

    private func updateWebViewScrollViewInsets() {
        updateContentInsets(contentInset ?? hiddenScrollView.contentInset)
    }

    private func addFillConstraintsForSubview(view: UIView) {

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