figuring out the slider