Using JQuery UI to change speed with a slider