added friction
fixed friction