making back prevent navigation too