added friction based on speed