jquery.tipsy: Add viewable region bounds checking

Merge of upstream: 5a8253f

https://github.com/jaz303/tipsy/commit/5a8253f

Bug: 44382
Change-Id: I984a99a18efbb9722e820e5e5828bc6289a9a673
Merge "jquery.tipsy: Add viewable region bounds checking"