modified toggle-which-func-mode