Added pagination to pins index page