I\' trying to write a simple function that operates submenus in Wordpress. The problem is, when you click to close a submenu, the class stays - the toggle doesn\'t seem to w