pagination with custom style