added a speedChange function to replace increase/decrease
fixing 3373