fix main page animate bug