* improve code style * move getRequestAnimationFrame to util * Fix ssr problem in BackTop, close #3343