has an elastic collision with the wall