Fix topic DOM positioning

... in conjuction with with expanding/collapsing Notes and switching topicmaps.