Add slider to change speed of simulation