                              completion: PageTransitionCompletion? = nil) {
         
         // guard against any current transition operation
-        guard self.isTransitioning == false else { return }
+        guard self.isScrollingAnimated == false else { return }
         guard self.isDragging == false else { return }
         
         let rawIndex = self.indexValue(forPageIndex: index)

                                                 willScrollToPageAtIndex: rawIndex,
                                                 direction: direction)
            
            self.isTransitioning = true
            self.pageViewController.setViewControllers([viewController],
                                                       direction: direction.pageViewControllerNavDirection,
                                                       animated: animated,

        }
    }
    
    /// Whether the page view controller is currently animating a scroll between pages.
    private(set) var isScrollingAnimated = false {
        didSet {
            self.isUserInteractionEnabled = !self.isScrollingAnimated
        }
    }
    
