         self.fromVC = fromVC
         self.toVC = toVC
         
-        switch (self.operationType) {
+        switch self.operationType {
         case .Push, .Present:
             self.isPresenting = true
         case .Pop, .Dismiss:

        if recognizer.state == .Began {
            self.setPanStartPoint(location)
            
            if let _contentScrollView = self.contentScrollView {
                if _contentScrollView.contentOffset.y <= 0.0 {
                    self.startGestureTransition()
                }
            } else {
                self.startGestureTransition()
            }
        } else if recognizer.state == .Changed {
            var bounds = CGRect.zero
            switch (self.interactiveType) {
            case .Push, .Present:
                bounds = self.fromVC.view.bounds
            case .Pop, .Dismiss:

    }
    
    private func setPanStartPoint(location: CGPoint) {
        switch self.direction {
        case .Top, .Bottom:
            self.panLocationStart = location.y
        case .Left, .Right:
