             self.actionsView?.isUserInteractionEnabled = false
             self.swipeInitialFramePosition = 0
             self.isActionPaneOpen = false
+            if let leftView = self.leftViewToCoverCellOnLandscape, let rightView = self.righttViewToCoverCellOnLandscape {
+                leftView.removeFromSuperview()
+                rightView.removeFromSuperview()
+            }
         })
         
     }

        
    }
    
    func closeActionPane() {        
        let targetTranslation = swipeType == .primary ? -swipeTranslation : swipeTranslation
        
        let totalDistance = targetTranslation

            let totalDistance = swipeTranslation - targetTranslation
            let duration: CGFloat = 0.40
            let springVelocity = abs(swipeVelocity) * duration / totalDistance
        
            UIView.animate(withDuration: TimeInterval(duration), delay: 0, usingSpringWithDamping: 10, initialSpringVelocity: springVelocity, options: .beginFromCurrentState, animations: {
                
                if self.isIpadOrLandscape {
                    if let indexPath = self.indexPathForActiveCell, let attributes = self.collectionView?.layoutAttributesForItem(at: indexPath) {
                        self.leftViewToCoverCellOnLandscape = UIView(frame: CGRect(x: 0, y: attributes.frame.origin.y, width: 85, height: self.privateContentView.frame.height))
                        self.leftViewToCoverCellOnLandscape?.backgroundColor = self.collectionView?.backgroundColor
                        
                        self.righttViewToCoverCellOnLandscape = UIView(frame: CGRect(x: attributes.frame.width + 85, y: attributes.frame.origin.y, width: 85, height: self.privateContentView.frame.height))
                        self.righttViewToCoverCellOnLandscape?.backgroundColor = self.collectionView?.backgroundColor
                        
                        if let leftView = self.leftViewToCoverCellOnLandscape, let rightView = self.righttViewToCoverCellOnLandscape {
                            self.collectionView?.addSubview(leftView)
                            self.collectionView?.addSubview(rightView)
                        }
                    }
                }
                
                self.swipeTranslation = targetTranslation
                self.layoutIfNeeded()
            }, completion: { (finished: Bool) in
