 }
 
 internal class SlideTableCellScrollView: UIScrollView, UIGestureRecognizerDelegate {
-    weak var tableView: UITableView?
+    weak var swipeCell: LLSwipeCell?
+    
+    override var contentSize: CGSize {
+        didSet {
+            swipeCell?.hideSwipeOptions(false)
+        }
+    }
     
     init() {
         super.init(frame: CGRectZero)

    public private(set) var showsRightButtons = false
    
    private func setupScrollView() {
        cellScrollView.delegate = self
        
        cellScrollView.translatesAutoresizingMaskIntoConstraints = false

        
        currentTableView = newSuperview?.parentViewOfClass(UITableView.self)
        currentTableView?.directionalLockEnabled = true
        
        currentTableView?.panGestureRecognizer.addTarget(self, action: "didPanTableView:")
    }
