Don't include intra-page navigation in history

Fixes #2829
Merge branch 'staging'