$(".autoplay").slicker({ slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 2000, });