Added support for back/forward browser nav. Closes #15.