Square-card grids reflow on rotation, and the arithmetic is the same in every app that draws one.
Firmware needs to know whether a back control would go anywhere, and the history that answers it belongs to the runtime.