title: Glide.js api issue
body: <p>I am creating a slider using Glide.js plugin. I did everything like is said in documentation. In html i have:</p>
  
  <pre><code>&lt;div class="slider" id="paintSlider"&gt;
              &lt;ul class="slides"&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/glowna_tlo.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/paint6.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/paint3.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/paint2.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/paint5.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li class="slide paint"&gt;
                      &lt;span&gt;&lt;img src="img/paint4.jpg" alt=""&gt;&lt;/span&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>and i have a code in script.js </p>
  
  <pre><code>$(function() {
  $('#paintSlider').glide({
      autoplay : false,
      hoverpause : false,
      navigation : false,
      arrowRightText : '',
      arrowLeftText : '',
      circular : true
  
  });
  });
  </code></pre>
  
  <p>i have to click on the image on slider to resize it to full size, and i did it, but to do this i had to create slider api:</p>
  
  <pre><code>var glide = $('#paintSlider').glide().data('api_glide');
  
  $(".lupaHolder a").click(function(){
      var slide = glide.current();
      var Src = $('li.slide.paint:nth-child(' + slide + ')').find("img").attr("src");
      $(this).attr({
          "href" : Src,
          "data-lightbox" : Src
       });
  
  });
  </code></pre>
  
  <p>and here starts my problem; when i created an api, autoplay which were at first "false" doesn't work, and slider do autoplay. i don't know how to stop it. Could you help me please?</p>