create pagination to jobs and paintings