work pagination, styles + fixes