Added directive for homepage animation