Change the limit of slider