Added nav-based pagination.