Method and apparatus for controlling the position of a motor vehicle