Add browser history

/cc @joachifm @jorams 
This can be impoved. I have an idea what to do.