bootstrap slider
fixed markov calculation