Add switch for swipe navigation