title: Bootstrap Tabs moving on Next and Prev Button
body: <p>I need bootstrap tab moving on click of <code>next</code> and <code>prev</code> Button and for first tab <code>prev</code> button hidden and for last tab <code>next</code> button hidden, I am newbie to jquery and I have tried lot to get it, but I am not able to do it </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>a.btn-left, a.btn-right {
    display:inline-block;
    padding:5px 10px;
    font-size:24px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;div class="container"&gt;
      &lt;ul class="nav nav-tabs"&gt;
          &lt;li class="active"&gt;&lt;a data-toggle="tab" href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a data-toggle="tab" href="#menu1"&gt;About&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a data-toggle="tab" href="#menu2"&gt;Cases&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a data-toggle="tab" href="#menu3"&gt;Experience&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="tab-content"&gt;
          &lt;div id="home" class="tab-pane fade in active"&gt;
              &lt;h3&gt;HOME&lt;/h3&gt;
              &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div id="menu1" class="tab-pane fade"&gt;
              &lt;h3&gt;Menu 1&lt;/h3&gt;
              &lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div id="menu2" class="tab-pane fade"&gt;
              &lt;h3&gt;Menu 2&lt;/h3&gt;
              &lt;p&gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div id="menu3" class="tab-pane fade"&gt;
              &lt;h3&gt;Menu 3&lt;/h3&gt;
              &lt;p&gt;Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="pull-right pagination"&gt;
              &lt;a class="btn-left"&gt;&lt;i class="fa fa-arrow-circle-left"&gt;&lt;/i&gt;&lt;/a&gt;
              &lt;a class="btn-right"&gt;&lt;i class="fa fa-arrow-circle-right"&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>