Mice received a magnetic pedestal for head fixation, attached to the skull above bregma using Optibond adhesive (Kerr Corporation, Orange, CA, USA). To place this pedestal, the surgical spot was shaved and lidocaine (4 mg/kg
Subsequently and while still under anaesthesia, a craniotomy was performed to expose the recording area (the lateral part of vermal lobules VI an VII and the adjacent hemispheric lobules crus 1 and crus 2 on the right side of the mouse). Four mice received a larger and more central craniotomy in order to expose both right and left vermis for optogenetic stimulation. The preparation was identical as for the pedestal placement, including shaving, lidocaine injection, and a small incision in the skin. With a dental drill, an opening in the skull was made, while the dura mater was preserved. The craniotomy was cleaned, and a small chamber was built with dental cement surrounding the craniotomy to contain fluids during the later recording session. At the end of the surgery, the craniotomy was covered with Kwik‐Cast (World Precision Instruments, Sarasota, FL, USA). Postsurgical pain was treated with carprofen (5 mg/kg
At the end of surgery, the mice were allowed to recover under a warming lamp for at least 30 min. The warming lamp covered only a part of the cage, so that the mice could chose to be under the lamp or not. When a mouse was behaving normally again, it was brought back to the stable.