Dynamic ScrollPane sliders help needed

I’m trying to do something like what you see in the link below. Most of which I can do without a problem with one exception. I can’t seem to figure out how to get the vertical and horizontal sliders to resize when you move the slider to zoom in on the image in the scrollPane. Does anyone know how to achieve this?

Thanks

ABC Map