implemented playback control for the editor