Added swipe to delete function