Preparing for pagination, leaving indicators to the side for now.
Pagination implementation on index. First draft working.