implemented history API to webui

history back/forward now shows the intuitive, expected page