Scroller that ACTUALLY replaces browser scroller

I can find tons of articles/tutorials on custom scrollers but none of them actually replace the browser scroller. If the browser is made smaller the custom scroller and the browser scroller are there. I want this:

Are there any tutorials out there that can make that happen for me?