bugfix: pack index auto pagination had always loaded second page
add prev and next link to current page