history navigation: prefer values from input over url hash, closes #14