     // MARK: UIViewControllerTransitioningDelegate
 
     func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+
         isPresentation = true
 
         return self
     }
 
     func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+
         isPresentation = false
 
         return self

                animatingView.alpha = 0
            }

        }, completion: { (finished) -> Void in

            if !self.isPresentation {
                fromView?.removeFromSuperview()

            animatingView.alpha = 1
        }

        UIView.animateWithDuration(transitionDuration(transitionContext), delay: 0, options: [.AllowUserInteraction, .BeginFromCurrentState], animations: { [unowned self] in
            animatingView.frame = finalFrame

            if self.isPresentation {
