Fix pager indexing.
Add pagination to example layout.