title: jittery mousewheel horizontal scrolling
body: <p>I'm currently working on a smooth horizontal mousewheel scroll and firefox is giving me quite a a bit of a headache. </p>
  
  <p>basically, whenever one fires the mouse wheel event that would execute the scroll, firefox replies with very disparate values, as in a scroll which should fire negative events fires the odd positive value (i.e. 30, 40, 43, -20, 30, -4), especially on smaller movements. that results more or less in the opposite of the desired result, as you can imagine.</p>
  
  <p>is there any way to avoid that? I've tried throttling it a little bit, but the loss of fluidity in the movement makes it a no go.</p>
  
  <p>for reference, the code for the scroll:</p>
  
  <pre><code>var scroll = function(e, d){
    console.log(d);
     $('html, body').animate(
        {scrollLeft: '-=' + d},
        10
     );
  
   e.preventDefault();
   e.returnValue = false;
  }
  
  $('html, body').bind('mousewheel', scroll);
  </code></pre>