fix tooltip direction

Fixes #39