Modify site pagination so that query strings are preserved