added swipe delete function