title: parallax scrolling - jumps when used mouse scroll wheel
body: <p>I have come across a problem with parallax scrolling. When mouse scroll wheel used it starts jumping and it look where bad on chrome and very little jump in IE but fine in firefox. </p>
  
  <p>here is the link for the <a href="http://goguide.com.au/goguideresponsive/index_test.html" rel="nofollow">site</a>.</p>
  
  <p>The code i am using for parallax is </p>
  
  <pre><code> &lt;script&gt;
  var topDiv = document.getElementById("topDiv");
  var speed = 1.5;
  
  window.onscroll = function()
  {
      var yOffset = window.pageYOffset;
      topDiv.style.backgroundPosition = "center "+ (yOffset / speed) + "px";
          scrolling = true;
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>If anyone can help me with it as i have looked for answers but not able to find. </p>
  
  <p>Thanks in advance</p>