click and drag to control the animation