change mapping for rectangle-toggle