centralized the tooltip creation and placement logic, and configured it to move out of the way when it would otherwise render off screen
Merge pull request #436 from spenceralger/responsive-tooltip

The tooltip should be more responsive