added ui-slider initialization code