change speed and smoothness of animation