made speed reset when player stops