Disable swipe when navigation is on two levels