added pagination via modals using shadowbox.js