         
         // setup animation
         
-        let kAnimation: Float = 2.0
+        let kAnimation: Float = 3.2
         let speed = panGesture.state != .changed ? kAnimation : 0.0
         
         let animationPositionToController = CABasicAnimation(keyPath: "position.x")

            toControllerInteractive?.view.layer.timeOffset = CFTimeInterval(timeOffset)
            fromControllerInteractive?.view.layer.timeOffset = CFTimeInterval(timeOffset)
        case .cancelled, .ended:
            interactiveTransitionInProgress = false
            if fromControllerInteractive != nil, toControllerInteractive != nil {
                startTimerForInteractiveTransition()

            break
        }
    }
    
    func swipeAction(direction: AnimationDirection) {
        if direction == .right {
            let index = selectedIndex! - 1
            if index >= 0 {
                selectController(atIndex: index, animated: isEnabledAnimation)
            }
        } else {
            let index = selectedIndex! + 1
            if index <= viewControllers.count - 1 {
                selectController(atIndex: index, animated: isEnabledAnimation)
            }
        }
    }


}
