updated animation mixin