Setup of slider