detach topbar wrapper not toolbar and show an active state in selected markdown snippet links