setting of animation speed