Test to make tooltips stay within the window.
tweaked example to show issue
Better bounds control.

Fixed #8
Merge pull request #9 from firstandthird/feature/stay-inside-bounds

Feature/stay inside bounds