for varying the horizontal distance of the lenses