Optimize the code

Signed-off-by: jssoscar
Version: 2.0
Date: 2014-4-16 17:36:49
Changelog： Optimize the tooltip controller