HTML changes to fix animation