Simplify realevent pagination algorithm for list view. Fix #182