Add optional animation to the config.

Closes #69.