slider position updating