polish toTopBtn class

Signed-off-by: miaojian <kitemao@gmail.com>