     @IBOutlet weak var bookmarkAnimationContainer: UIView!
     
     var content: Content!
-    var attachmentUrl: URL!
     var bookmark: Bookmark!
     var position: Int!
     var loading: Bool = false

    }
    
    @IBAction func viewAttachment(_ sender: UIButton) {
        if attachmentUrl.scheme == "http" {
            attachmentUrl = URL(string: "https://" + attachmentUrl.host! + attachmentUrl.path
                + "?" + attachmentUrl.query!)
        }
        present(alertController, animated: false, completion: {
            self.loadPdf()
        })
    }
    
    func loadPdf() {
        let pdfDocument = PDFDocument(url: attachmentUrl!)
        alertController.dismiss(animated: false, completion: {
            self.displayPdf(pdfDocument)
        })

    }
    
    func displayAttachment() {
        let attachmentUrl = URL(string: content.attachment!.attachmentUrl)!
        if attachmentUrl.pathExtension != "pdf" {
            viewAttachmentButton.isHidden = true
        } else {
