         let mainView = mainViewController.view
         let menuView = menuViewController.view
 
-        if (self.presenting){
+        if self.presenting {
             menuView.alpha = 0
         }
 

        let duration = self.transitionDuration(transitionContext)

        UIView.animateWithDuration(duration, delay: 0.0, usingSpringWithDamping: 0.7, initialSpringVelocity: 0.8, options: nil, animations: {
            if (self.presenting) {
                self.onStageMenuController(menuViewController)
            } else {
                mainView.transform = CGAffineTransformIdentity
                self.offStageMenuController(menuViewController)
            } }, completion: { finished in
                if (transitionContext.transitionWasCancelled()) {
                    transitionContext.completeTransition(false)
                } else {
                    transitionContext.completeTransition(true)
                }
        })
    }

    func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {

        default:
            self.interactive = false

            if translation < 0.6 {
                self.finishInteractiveTransition()
            } else {
                self.cancelInteractiveTransition()
            }
        }
    }

    func animateTransition(transitionContext: UIViewControllerContextTransitioning) {
