set max depth into sample as working distance

force the objective working distance to be the
max of the sample depth slider...
any larger makes no physical sense,
as the lens would have hit the coverglass

but
$('#slider-SampleDistance').slider('refresh');
causes an error for some unclear reason :-(