swipe and delete location, logic added