change style of slider