I had this problem a month ago. I think it's ok in JSfiddle because the render window is small and it has a simple html code.
As the project I was working on needed to be really smooth / speed with a heavy HTML structure and lots of CSS animations, I had to do that effect from scratch with jQuery just with a simple $(window).scroll()
and configuring the top
property of my elements (position: absolute).