setTimeout version of animation