Adding better next and last pages to new 1.3 version