Interneuron switching on and off across memory rhythms