On this cnet.com page, how do they program the "social sharing" div (you'll see it over on the left side), so that it scrolls until it reaches the top of the viewport, then its fixed until it reaches the footer?

Any ideas?