Accordion Navigation Option

Accordion Navigation Option


I am trying to use the Accordion navigation option, but am running
into a couple of problems.
I see why the navigation demo uses a mouseover: clicking the link
updates the URL, but not if the accordion catches the click event
first. To work around this I set the accordion event to 'mouseup', so
when you click on a header the 'mouseup' event activates the
accordion, and the 'click' event updates the URL.
This works fairly well, but the animations are not smooth at all,
because the page reloads halfway through the animation. I'm wondering
if there is a way to update the URL after the animation has finished.
Any ideas?