Code to keep arrow inside popover even if the popover is close to the
window edge.
Merge branch 'master' of http://github.com/OnsenUI/OnsenUI