Formatting of pagination