Call the raf only when scrolling

inspired by Paul Lewis article on HTML5Rocks