Fixed previous page and next page links.