         let events: NSEvent.EventTypeMask = [
             NSEvent.EventTypeMask.scrollWheel
             ]
-        
+
         eventMonitor = EventMonitor(mask: events, handler: { (event) in
             guard let e = event, e.phase != [] else { return event }
             self.scrollWheel(with: e)

    /// - Parameter completion: A block to call when the tranision is complete
    open func dismiss(animated: Bool, completion: AnimationCompletion? = nil) {
        self.delegate?.collectionViewPreviewControllerWillDismiss(self)
        self.stopEventMonitor()
        
        let ips = self.collectionView.indexPathsForVisibleItems.filter {
            if let cell = self.collectionView.cellForItem(at: $0) {

            }) {
                completion?(true)
                trans?.finishTransition(fromItemAt: indexPath, in: sourceCollectionView)
                self.collectionView.isScrollEnabled = true
            }
            self.overlay.animator().alphaValue = 1
        }
