rearrange magnet container