removed the <M> togglelayout call