   override public func viewDidLoad() {
     super.viewDidLoad()
     view.addSubview(scrollView)
-    view.constrainToEdges(scrollView)
     scrollView.delegate = self
     
     if #available(iOS 11.0, *) {

    }
  }
  
  func layoutViews(for viewControllers: [UIViewController], keepContentOffset: Bool) {
    let viewControllers = isRightToLeft ? viewControllers.reversed() : viewControllers

    for (index, viewController) in viewControllers.enumerated() {
      switch options.contentNavigationOrientation {

  public private(set) lazy var scrollView: UIScrollView = {
    let scrollView = UIScrollView()
    scrollView.isPagingEnabled = true
    scrollView.autoresizingMask = [
      .flexibleTopMargin,
      .flexibleRightMargin,
      .flexibleBottomMargin,
      .flexibleLeftMargin
    ]
    scrollView.scrollsToTop = false
    scrollView.bounces = true
    scrollView.translatesAutoresizingMaskIntoConstraints = true
    scrollView.showsHorizontalScrollIndicator = false
    scrollView.showsVerticalScrollIndicator = false
    return scrollView
