Added sliders in settings UI to adjust cell size and margin factor