the fact that it was close was more luck than anything...
the place where you set the slider's position - you were including BrowserSliderMainPart.Height but its height is zero because you replaced it with 9patchSlider.
the first part of that calculation (scrolly-(1080/2))/LayoutHeight) only works out to 0 to 0.5 because scrolly goes from 540 to 1620. to get it to go from 0 to 1, either multiply that result by 2, or change it to (scrolly-(1080/2))/1080)
but that assumes the layout height will always be 2160. If you want the scrollable area to be variable, it gets a little trickier. Either you have to change the canvas size as required, or use unbounded scrolling and manually control where scrolly starts and stops.
the second part of the above calculation needs to factor in the height of 9patchSlider, so the over-all calculation would be something like:
(((scrolly-(1080/2))/LayoutHeight)*2*((1080-9patchSlider.Height)-179))+179
or
(((scrolly-(1080/2))/1080)*((1080-9patchSlider.Height)-179))+179