Fix tooltip positioning

Use clientX/Y instead of pageX/Y to get the correct position even when
the page is scrolled down.  Fixes #1
Create tooltip div first

Hopefully fix the tooltip div sometimes not existing until page is
refreshed.