added state change awareness to animation component