Add jQuery UI slider for distance scale.