added a delete on a swipe to the left function.