changing the accordion to individual collapses meant we could implement keyboard navigation between the cards
however, I only handled card collapsing state per-page, which caused an issue where opening one card on one page would open the card with the same index on every page
this fixes that by indexing the cards based on its position in the whole list rather than per-page