yes, this is the dirty part. e.g. jumping to questions when a specific id was requested. although this belongs to the answer, so that the link on the page can refer to plain ids.
another problem occurred because of the static menu. when jumping to an element on the page it will be displayed "behind" the menu so the code has to scroll the page up a little.
i can't think of a better solution right away.