First implemetation of the swipe feature back