Using mixins for animation based on @redmunds' feedback.