shortened the animation definition
cleaner and more general config