The UICollectionViewLayout subclass adds swipe to delete functionality to a collectionview