     
     fileprivate var animatedImage: FLAnimatedImage? {
         didSet {
-            guard self.animatedImage != nil else { return }
+            guard self.animatedImage != self.imageView.animatedImage else { return }
             
             self.imageView.animatedImage = self.animatedImage
             self.image = nil

    
    fileprivate var image: UIImage? {
        didSet {
            guard self.image != nil else { return }
            
            self.imageView.image = self.image
            self.animatedImage = nil

    internal func prepareReuse(with item: DKPhotoGalleryItem) {
        self.resetScale()
        self.image = nil
        self.animatedImage = nil
        
        self.item = item
        
