change range of slider