use the mixin for animations