Applies CodeRabbit review feedback: only register the arrow shortcuts when the current board is found in the boards cache (currentIndex !== -1), otherwise the modulo arithmetic would jump to an unexpected board. Extracts the wraparound index calculation into a pure getNextBoardIndex helper with unit tests.