Added pagination to pins