adding hide-menu attribute