                         }
                     }
                     completion?(viewController, animated, finished)
-                    self.isTransitioning = false
+                    self.isScrollingAnimated = false
             })
             
         } else {

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

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