So I've been working on a prototype where when a user clicks the edit button, they're able to delete selected cards. That part seems to work just fine, however I seem to be having trouble when there are two cards left. Instead of moving to the left edge, I seem to have a residual "border" layer taking up that space, and so the two remaining cards don't move over.
I've been using this old prototype for reference, because it's what I'm trying to recreate, just on a smaller scale. So a lot of my code I use comes from this.
I made a small video showing the problem. Does anyone know why this is happening?