only swipe back if there is in-app history