     collectionView.setContentOffset(collectionView.contentOffset, animated: false)
   }
 
-  // MARK: UICollectionViewDelegate
+  // MARK: UIScrollViewDelegate
   
   open func scrollViewDidScroll(_ scrollView: UIScrollView) {
     guard let collectionViewLayout = collectionViewLayout else { return }

      pagingItem: selectedPagingItem,
      direction: direction,
      animated: true))
  }
  
  // MARK: UICollectionViewDataSource

    }
  }
  
  open func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
    return
  }
  
  open func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
    return
  }
  
  open func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
    return
  }
  
  open func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
    return
  }
  
  open func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
    return
  }
  
  open func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
    return
  }
  
  // MARK: UICollectionViewDelegate
  
  open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
    guard let currentPagingItem = state.currentPagingItem else { return }
    
