                     transitionView.center = animatingView.center
                 })
 
-                let largerOffset: CGFloat = 80
 
                 UIView.addKeyframeWithRelativeStartTime(0.7, relativeDuration: 0.2, animations: { () -> Void in
-                    let targetWidth = animatingView.bounds.width + largerOffset
+                    let targetWidth = animatingView.bounds.width + self.largerOffset
 
                     let dw = targetWidth - transitionView.bounds.width
                     let ratio = targetWidth / transitionView.bounds.width

        }
    }

    func presentTransition(transitionContext: UIViewControllerContextTransitioning) {
        let fromVC = transitionContext.viewControllerForKey(UITransitionContextFromViewControllerKey) as? ConversationsViewController
        let toVC = transitionContext.viewControllerForKey(UITransitionContextToViewControllerKey) as? MessageMediaViewController

                })

                UIView.addKeyframeWithRelativeStartTime(0.9, relativeDuration: 0.0, animations: { () -> Void in
                    let ratio = (animatingView.bounds.width + self.largerOffset) / animatingView.bounds.width
                    toVC?.mediaView.transform = CGAffineTransformMakeScale(ratio, ratio)
                    toVC?.mediaView.alpha = 1
                    transitionView.alpha = 0
