add class to body knowing when menu is opened or closed