         for view in pdfView.subviews {
             if view.isKind(of: UIScrollView.self) {
                 (view as? UIScrollView)?.scrollsToTop = false
+                (view as? UIScrollView)?.contentInsetAdjustmentBehavior = .scrollableAxes
             }
         }
         

        }
    }
    
    func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle {
        return .none
    }
    

                    self.getScaleFactorForSizeToFit()
                }
                
                self.writing(vertically: self.isVerticalWriting, rightToLeft: self.isRightToLeft)
                
                self.setPDFThumbnailView()
            } else {
