changing the alignment of the slider