made code example match actual code

the code backing the multiple items demo has infinite: true but the demo code had it as false creating a mismatch.