set default slider value so it doesn't jump on page load