added pagination to pins page