set slider range