fix slider ticks error increasing over time