add a pagination to cat page top an organise le code