title: Swipe function to materializecss tabs
body: <p>So, I am using materializecss for a web development.</p>
  
  <p>There is a tab functionality however it does not support swipe function yet on mobile like a native android app.</p>
  
  <p>Does anyone know how I can implement swipe functionality to it? How difficult would this be?</p>
  
  <p>For example, here is the demo content:</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col s12"&gt;
          &lt;ul class="tabs"&gt;
              &lt;li class="tab col s3"&gt;&lt;a href="#test1"&gt;Test 1&lt;/a&gt;&lt;/li&gt;
              &lt;li class="tab col s3"&gt;&lt;a class="active" href="#test2"&gt;Test 2&lt;/a&gt;&lt;/li&gt;
              &lt;li class="tab col s3 disabled"&gt;&lt;a href="#test3"&gt;Disabled Tab&lt;/a&gt;&lt;/li&gt;
              &lt;li class="tab col s3"&gt;&lt;a href="#test4"&gt;Test 4&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div id="test1" class="col s12"&gt;Test 1&lt;/div&gt;
      &lt;div id="test2" class="col s12"&gt;Test 2&lt;/div&gt;
      &lt;div id="test3" class="col s12"&gt;Test 3&lt;/div&gt;
      &lt;div id="test4" class="col s12"&gt;Test 4&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>