Factor out method that calculate offset of pageIndex and basePageIndex considering _pageViews.count
Manage pageViews by non-destructive array.
It made code more simple.
Fix demo page’s bug that gives InfinitePagingView wrong pageSize.