Pagination on order history, make pagination element