Added swipe feature for navigation