             }, completion: nil)
         
         UIView.animateWithDuration(animationDuration,
-            delay: 0,
-            usingSpringWithDamping: 0.95,
-            initialSpringVelocity: 20,
-            options: .CurveLinear,
-            animations: {
-                lightBoxImageView.frame = self.lightBoxViewController!.view.frame
-            }, completion: { finished in
-                self.delegate?.lightBoxDidAppear?(self)
+                                    delay: 0,
+                                    usingSpringWithDamping: 0.95,
+                                    initialSpringVelocity: 20,
+                                    options: .CurveLinear,
+                                    animations: {
+                                        lightBoxImageView.frame = self.lightBoxViewController!.view.frame
+                                    }, completion: { finished in
+                                        self.delegate?.lightBoxDidAppear?(self)
         })
     }
     

    }
    
    func showLightBoxWithSourceImageView(sourceImageView: UIImageView) {
        setupLightBoxViewControllerForImageView(sourceImageView)
        assert(delegate != nil, "EDLightBox delegate cannot be nil")
        
        self.sourceImageView = sourceImageView
        

            }, completion: nil)
        
        UIView.animateWithDuration(animationDuration,
                                    delay: 0,
                                    usingSpringWithDamping: 0.95,
                                    initialSpringVelocity: 20,
                                    options: .CurveLinear,
                                    animations: {
                let center = lightBoxImageView.superview!.convertPoint(self.sourceImageView!.center, fromView: self.sourceImageView!.superview)
                let sourceImageViewSize = self.sourceImageView!.bounds.size
                lightBoxImageView.frame = CGRect(x: center.x - (sourceImageViewSize.width / 2),
