title: jQuery smooth scroll background image horizontally?
body: <p>I have a banner towards the top of a development site. I have the image scrolling left-right with the jquery below. It's abit choppy and freezes when other jquery function are in use such as phishing or a jquery image rotator. </p>
  
  <p>My question is, is there a better solution that will help scroll the image smoothly?</p>
  
  <pre><code>var $jg = jQuery.noConflict();
  $jg(document).ready(function() {
      var xAdd = 0;
      var scrollInterval = setInterval(function(){
          xAdd++;
          if(xAdd &gt;= 1200){
              xAdd = 0;
          }
          $jg('#clouds').css('background-position',xAdd + 'px ');
  
      },100);
  }); 
  </code></pre>