Implement changing the layer of animation of patterns from the view.