added pagination to pins index.html