pagination and associated styles