When you dragged those markers and took a stretch of boxes, something quiet happened that's worth noticing.
The original shelf never emptied. You didn't move the boxes anywhere — the stretch you grabbed showed up as a second shelf, while the first one stayed exactly as it was.
That turns out to matter a lot.