title: jQuery scrollRight?
body: <p>I have the following code that seems to scroll a div on click all the way to the left. I am wondering if:</p>
  
  <ol>
  <li>there is a way to get it to get it to scroll only 200px at a time. </li>
  <li>I can get it to scroll to the right as well. Tried to look at the jQuery documentations but could not find a scrollToRight function.</li>
  </ol>
  
  <p>Here is my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(".leftArrow").click(function () { 
    $(".innerWrapper").animate({scrollLeft: 250}, 800);
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.innerWrapper
  {
   float: left;
   margin-right:-32767px;
  }
  .outerWrapper
  {
   width: 780px;
   height: 180px;
   overflow: hidden;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;input type='button' class='leftArrow' value='left'&gt;
  &lt;input type='button' class='rightArrow' value='right'&gt;
  
  &lt;div class='outerWrapper'&gt;
     &lt;div class='innerWrapper'&gt;
           Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
     &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help would be greatly appreciated.</p>