added a global speed control slider