makeSlider(el) introduced to create dynamic sliders

used in an image lightbox