move animation to layer