 
     var afterDismissAction: (() -> Void)?
 
+    var showFinished = false
+
     let mediaViewCellID = "MediaViewCell"
 
     deinit {

                UIView.animateWithDuration(0.1, delay: 0.0, options: .CurveLinear, animations: { [weak self] in
                    self?.topPreviewImageView.alpha = 0
                    self?.bottomPreviewImageView.alpha = 0
                }, completion: { _ in })
            })
        })


    // MARK: Actions

    func dismiss() {

        guard showFinished else {
            return
        }

        currentPlayer?.removeObserver(self, forKeyPath: "status")
        currentPlayer?.pause()
