change position of slider script