improved pagination

need to fix color