added friction and gravity to mover class