adding number of steps variable to scroller