Solar wind control of the magnetopause shape, location, and motion