dynamically add class to body based in menu parent