adds homepage animation