     
     @objc func update() {
         displayUpdated?(self)
+    }
+    
+    func resumeUpdate() {
+        displayLink?.isPaused = false
+    }
+    
+    func pauseUpdate() {
+        displayLink?.isPaused = true
     }
 }
 

                               constant: 0).isActive = true
        }
        
    }
    
    override init(frame: CGRect) {

        case .bottom:
            tableView.contentInset = UIEdgeInsets(top: inset * 2, left: 0, bottom: 0, right: 0)
        }
        maskLayer.frame = bounds
    }
    
    public override func didMoveToSuperview() {
