Making the pagination mobile-friendly.