method for deleting items in collectionview