styled loop pagination