     }
 }
 
-extension EventsViewController: UICollectionViewDelegate {
+extension EventsViewController: UICollectionViewDelegate, UITableViewDelegate {
     
+    func scrollViewDidScroll(_ scrollView: UIScrollView) {
+        let offset = scrollView.contentOffset
+        print(offset)
+    }
 }
 
 extension EventsViewController: UICollectionViewDataSource {

}

extension EventsViewController: NSFetchedResultsControllerDelegate {
    
    
}

    }
}

extension EventsViewController: UITableViewDataSource {
    
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
