Improve pagination links in mobile view.