Added slider for speed