Use anchors to allow deep links, but don't mess with history