title: How to get the current slide no in Glide.js
body: <p>Hi how can I get the current slide no when I click next and previous button in GLide.js <a href="http://glide.jedrzejchalubek.com/docs.html#intro" rel="nofollow">http://glide.jedrzejchalubek.com/docs.html#intro</a>.</p>
  
  <pre><code>var carousel = $('#Carousel').glide({
                  type: 'carousel',
                  startAt: 1,
                  touchDistance: 2,
            afterInit:function(){console.log("paintSlider")},
            autoplay: 0
                });
  console.log(carousel.current());
  </code></pre>