adding Firefox compatibility to tooltips

now doesn't pass event as parameter, it now checks the event immediately
and passes mouse y,x position - tooltip function can then not have to
worry about event handling