fix bug: the animation doesn't work well in enroll page