change the iteration range for the shiny slidebar