bounds check card row next/previous buttons