Changed to window.pageYOffset for better cross browser compatibility.
Fixed missing semi-colon.
Released 0.6.4.