Add pagination links and styling