#26 adjust history management

- remove history.back() which seemed to be causing intermittent phantom
history flashbacks, and replace it with replaceState