Add pagination and styles