         pageViewController.didMove(toParent: self)
       
         // Add hidden scroll view that will be used to interact with navigation bar large titles.
-        let invisibleScrollView = ParentMatchedScrollView.matching(parent: self.view)
+        let invisibleScrollView = ParentMatchedScrollView.matching(parent: view)
         view.addSubview(invisibleScrollView)
         view.sendSubviewToBack(invisibleScrollView)
         self.invisibleScrollView = invisibleScrollView

    ///
    /// - Parameter reloadViewControllers: Reload the view controllers data source for the PageboyViewController.
    internal func setUpPageViewController(reloadViewControllers: Bool = true) {
        var existingZIndex: Int?
        if let pageViewController = self.pageViewController { // destroy existing page VC
            existingZIndex = self.view.subviews.index(of: pageViewController.view)
            self.pageViewController?.view.removeFromSuperview()
            self.pageViewController?.removeFromParent()
            self.pageViewController = nil
        }
        
        let pageViewController = UIPageViewController(transitionStyle: .scroll,
                                                      navigationOrientation: self.navigationOrientation,
                                                      options: convertToOptionalUIPageViewControllerOptionsKeyDictionary(self.pageViewControllerOptions))
        pageViewController.delegate = self
        pageViewController.dataSource = self
        self.pageViewController = pageViewController

            return nil
        }

        if let index = currentIndex {
            if index != 0 {
                return self.viewController(at: index - 1)
            } else if isInfiniteScrollEnabled {
                return self.viewController(at: viewControllerCount - 1)
            }
        }
