added swipe navigation