         // Dismiss
         
         self.animator.dismissalBeforeHandler = { [weak self, weak navController] (containerView: UIView, transitionContext: UIViewControllerContextTransitioning) in
+            let fcomView = self!.navigationController!.view
             
-            containerView.addSubview(self!.view)
+            containerView.addSubview(fcomView)
             containerView.bringSubviewToFront(navController!.view)
             
             navController!.view.layoutIfNeeded()
             
             let startRect = navController!.view.frame
             
-            self!.view.transform = CGAffineTransformMakeScale(behindViewScale, behindViewScale)
+            fcomView.transform = CGAffineTransformMakeScale(behindViewScale, behindViewScale)
             
             self!.animator.dismissalCancelAnimationHandler = { (containerView: UIView) in
-                self!.view.transform = CGAffineTransformMakeScale(behindViewScale, behindViewScale)
-                self!.view.alpha = behindViewAlpha
+                fcomView.transform = CGAffineTransformMakeScale(behindViewScale, behindViewScale)
+                fcomView.alpha = behindViewAlpha
                 navController!.view.frame = startRect
             }
             
             self!.animator.dismissalAnimationHandler = { (containerView: UIView, percentComplete: CGFloat) in
                 let scale = behindViewScale + ((1.0 - behindViewScale) * percentComplete)
-                self!.view.transform = CGAffineTransformMakeScale(scale, scale)
-                self!.view.alpha = behindViewAlpha + ((1.0 - behindViewAlpha) * percentComplete)
+                fcomView.transform = CGAffineTransformMakeScale(scale, scale)
+                fcomView.alpha = behindViewAlpha + ((1.0 - behindViewAlpha) * percentComplete)
                 
                 var updateRect = CGRectMake(0, 0, CGRectGetWidth(navController!.view.frame), CGRectGetHeight(navController!.view.frame))
                 switch self!.animator.direction {

        var modalVC: ModalViewController = storyboard.instantiateViewControllerWithIdentifier("ModalViewController") as! ModalViewController
        var navController = UINavigationController(rootViewController: modalVC)
        
        self.animator = ARNTransitionAnimator(operationType: .Present, fromVC: self, toVC: navController)
        if self.dragable {
            self.animator.interactiveType = .Dismiss
        }

                updateRect.origin.y = transformPoint.y
                navController!.view.frame = updateRect
            }
            
            self!.animator.dismissalCompletionHandler = { [weak self] (containerView: UIView, completeTransition: Bool) in
                fcomView.alpha = 1.0
                fcomView.transform = CGAffineTransformIdentity
                if completeTransition {
                    UIApplication.sharedApplication().keyWindow!.addSubview(fcomView)
                }
            }
        }
        
        navController.transitioningDelegate = self.animator
