Well, yeah, but I don't know what you mean by scrolling the content, you just add a certain offset to the positions of all the controls
Like, scrolling the scroll bar should scroll the content proportionally right?
For example
If the bar is at the top, the content is at the top
If the bar is in the middle, the content is in the middle
If the bar is at the bottom, the content is at the bottom