unslick if more then
('.slider').slick({
slidesToShow: 5,
slidesToScroll: 1,
autoplay: false,
autoplaySpeed: 2000,
responsive: [
{
breakpoint: 9999, //for screensfrom 768 to 9999
settings: "unslick"
},
{
breakpoint: 767,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: true
}
}
]
});