move the marker on the line