initCat,range update,israngevalue,clean

early initCat, loose range update, israngevalue based on  sliderObj,
clean old code commented