Switching off and on the supramolecular chiral memory in porphyrin assemblies.