add viewport padding to the tooltip

![add viewport padding to the tooltip](http://pic.yupoo.com/island205/DhHbDRtH/hR2Hm.png)