fixed maxSpeed in movement.js