Tooltip of syntax autocomplete suggestion does not appear.

The changed HTML of d.o (possibly since D7 upgrade even, dunno) uses `z-index` on its own, which causes the autocomplete suggestion tooltip to not appear.

While being there, I also simplified the tooltip visibility toggling.