Add animation mixin

Initial stab at an animation mixin.