Add pagination for notecards