slide to a new location along a straight line