make the layer stay at the last frame of animation