Added switch to set number of rows in a dashboard screen