fixed the slider values for the spatial plot