Added quadratic movement.