recoding slider with bootstrap