Add pagination template to shared folder, add pagination to referral opportunities