minor cleanup
minor making infinite scroll a switch