add displaying ticks for sliders