Fixing loop pagination, single page