modif translate scale to animtation width and height