title: Horizontal scroll to anchor
body: <p>I have a site that its horizontally navigated.</p>
  
  <p>here's the code:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;&lt;a href="#box-1"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-2"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-3"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-4"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-5"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-6"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-7"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-8"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-9"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#box-10"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div id="content"&gt;
      &lt;div id="box-1"&gt;&lt;/div&gt;
      &lt;div id="box-2"&gt;&lt;/div&gt;
      &lt;div id="box-3"&gt;&lt;/div&gt;
      &lt;div id="box-4"&gt;&lt;/div&gt;
      &lt;div id="box-5"&gt;&lt;/div&gt;
      &lt;div id="box-6"&gt;&lt;/div&gt;
      &lt;div id="box-7"&gt;&lt;/div&gt;
      &lt;div id="box-8"&gt;&lt;/div&gt;
      &lt;div id="box-9"&gt;&lt;/div&gt;
      &lt;div id="box-10"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Each box have 300px width. But when i click, if its visible in the resolution area it wont scroll to the box.  What im trying to do is, if i click for example <code>&lt;a href="#box-3"&gt;</code> it'll bring me to the div <code>#box-3</code> but it'll be the first on the left and others div must be hidden.
  It only hides others div when the resolution is very little, it works perfectly, but if the resolution is very wide it wont work..</p>