fix brittle pagination. add styling