add paginations on page