             scrollRestorationState = .none
             self.scroll(to: CGPoint(x: 0, y: offset), animated: animated) { [weak self] (success) in
                 guard !success, attempt < maxAttempts else {
+                    completion?()
                     return
                 }
                 completion?()

        /// Scroll to percentage Y offset
        case scrollToPercentage(_ percentageOffsetY: CGFloat)
        /// Scroll to anchor, an id of an element on the page
        case scrollToAnchor(_ anchor: String, attempt: Int = 1, maxAttempts: Int = 5)
    }
    
    private var scrollRestorationState: ScrollRestorationState = .none

                self?.setWebViewHidden(false, animated: true)
            })
        } else if let fragment = article.viewedFragment {
            scrollRestorationState = .scrollToAnchor(fragment, completion: { [weak self] in
                self?.setWebViewHidden(false, animated: true)
            })
        } else {
            setWebViewHidden(false, animated: true)
        }
    }
    
