Dynamic determination of no. of sliders