add some utils, bounce animation and 优化代码，