Refactors changeSlickSlide for multiple elements