pagination and break lines unified