Recalculate all positions from scratch if layout (column count or margin) changed so that column mapping is correct when scrolling up