fix animation in the homepage