viewableItems always comes in order and indexes are always ascending. In addition, if the array comes empty (I saw it happen on Android at least, when scrolling like a maniac) we'd calculate the right value, instead of Infinity.