factor out animations into less mixin