 
             if (self.presenting) {
                 menuViewSnapshot.alpha = 1
-                menuViewSnapshot.transform = CGAffineTransformIdentity
+                menuViewSnapshot.frame = menuView.frame
                 menuView.backgroundColor = menuView.backgroundColor?.colorWithAlphaComponent(0.4)
                 menuView.alpha = 1
                 // animate back and forward buttons off to the left

        let offstageLeft = CGAffineTransformMakeTranslation(-offstageValue, 0)
        let offstageRight = CGAffineTransformMakeTranslation(offstageValue, 0)

        if let sourceView = sourceView {
            menuViewSnapshot.layer.anchorPoint = sourceView.layer.anchorPoint
        }

        if presenting {
            menuView.alpha = 0
            menuController.menuView.hidden = true



    func transitionDuration(transitionContext: UIViewControllerContextTransitioning?) -> NSTimeInterval {
        return presenting ? 0.4 : 0.2
    }
}

