         
         let swipeType = actionsView.swipeType
         
-        takeSwipeSnapshot()
-        
         showActionsView(with: swipeType)
         
         let targetTranslation = swipeType == .primary ? minimumSwipeTrackingPosition : -minimumSwipeTrackingPosition
         
-            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: {
-                self.swipeTranslation = targetTranslation
-            }, completion: { (finished: Bool) in
-                actionsView.isUserInteractionEnabled = true
-            })
+        let totalDistance = swipeTranslation - targetTranslation
+        let duration: CGFloat = 0.40
+        let springVelocity = abs(swipeVelocity) * duration / totalDistance
+    
+        privateContentView.backgroundColor = backgroundView?.backgroundColor
+        UIView.animate(withDuration: TimeInterval(duration), delay: 0, usingSpringWithDamping: 10, initialSpringVelocity: springVelocity, options: .beginFromCurrentState, animations: {
+            self.swipeTranslation = targetTranslation
+        }, completion: { (finished: Bool) in
+            actionsView.isUserInteractionEnabled = true
+        })
     }
     
     func closeActionPane() {

    }
    
    func beginSwipe(with position: CGPoint, velocity: CGFloat) {
        swipeInitialFramePosition = contentView.frame.origin.x
        swipeStartPosition = position
        swipePastBounds = false
        

        // We don't need to do this if the view is already visible.
        guard let actionsView = actionsView, actionsView.superview == nil else { return }
        
        actionsView.swipeType = swipeType
        super.contentView.insertSubview(actionsView, belowSubview: privateContentView)
        layoutSubviews()
    }
    
    // MARK: Opening & closing action pane
    
    func openActionPane() {
        // Make sure we don't swipe twice on the same cell.
