Added sliders to change number of cells