         return self
     }
 
-    func offStage(amount: CGFloat) -> CGAffineTransform {
-        return CGAffineTransformMakeTranslation(amount, 0)
-    }
-
-    func offStageMenuController(menuViewController: RGMenuViewController){
-        menuViewController.view.alpha = 0
-        let topRowOffset : CGFloat = 300
-        let middleRowOffset : CGFloat = 150
-        let bottomRowOffset : CGFloat = 50
-    }
-
-    func onStageMenuController(menuViewController: RGMenuViewController){
-        menuViewController.view.alpha = 1
+    func transitionDuration(transitionContext: UIViewControllerContextTransitioning) -> NSTimeInterval {
+        return 0.5
     }
 
 }

        default:
            self.interactive = false

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

    func interactionControllerForPresentation(animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
        return self.interactive ? self : nil
    }

    func interactionControllerForDismissal(animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
        return self.interactive ? self : nil
    }

    func transitionDuration(transitionContext: UIViewControllerContextTransitioning) -> NSTimeInterval {
        return 0.5
    }

    func animateTransition(transitionContext: UIViewControllerContextTransitioning) {

        let mainView = mainViewController.view
        let menuView = menuViewController.view

        if self.presenting {
            menuView.alpha = 0
        }

