animation support in sprites-layer.