history: properly set session title when going to history route