Added pagination to pin index.