updated animation configuration

It can be a little bit more compact by setting the new layer value
beforehand