Update pager.php

Preserve query string.