make backward navigation work