building the slider