added proper hook so that re-plotting the greyscale image updates the
sliders appropriately