keep local URL anchors along for the magical ride into the history API, and scroll to the target directly to avoid adding a junk history entry along the way have i mentioned that I hate the javascript history API?