Edited pagination to conform with Google's guidelines