fix text visualization in slider