new relative positions and margins