updated slider position