preventing backspace from navigating back