slick slider with animations
<p>I am using <em>slick slider</em> with animation on my site. everything works great except when I drag slide if not moved to the next or previous slide I don't want to use animation.</p>

<pre><code>&lt;div id="my_slider"&gt;
  &lt;div id="item"&gt;
    &lt;div id="name" class="hidden"&gt;slide1&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="item"&gt;
    &lt;div id="name" class="hidden"&gt;slide2&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="item"&gt;
    &lt;div id="name" class="hidden"&gt;slide3&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>here is <a href="https://jsfiddle.net/xxc464yd/1/" rel="nofollow">jsfiddle</a></p>