DRY'ed up the animations with a SASS mixin.