Improved centering of text in slider