add interface for speed and playback in animate