updateIndexRange - fix behaviour when viewport.top out of range. Add a TODO
Fix one test which was having wrong expectation