added pagination to portfolio page