Advance slick slider when image in gallery is clicked (multiple slick sliders on one page)
<p>I came across this modification for slick slider for advancing when clicking on the current image (see below). When I implement it on my page with multiple galleries it advances all galleries when I click on one, not only the one selected. Is there a possibility to use e.g. "this" selector in here? 
<a href="http://codepen.io/ethanclevenger91/pen/MYNGrN" rel="nofollow">http://codepen.io/ethanclevenger91/pen/MYNGrN</a></p>

<pre><code>window.onload=function(){
    $slideshow = $('.slider').slick({
        dots:false,
        autoplay:false,
        arrows:false,
        adaptiveHeight: true,
        slidesToShow:1,
        slidesToScroll:1
    });
    $(".slide").click(function() {
        $slideshow.slick('slickGoTo', parseInt($slideshow.slick('slickCurrentSlide'))+1);
    });
};
</code></pre>