Fixed speed slider to work correctly.