#11746 issue. Fix resize bug pulled right tip


![2013-12-12 16 33 03](https://f.cloud.github.com/assets/3524630/1743105/fc6209c0-6406-11e3-9436-4918315d7102.png)
Fix the problem with tooltip pulled right side. 
Added checking offset on the bug side

Issue: https://github.com/twbs/bootstrap/issues/11746