Add swipeToDelete function