Improving the pagination layout