Thanks for your solution. Now the menu layers are hidden on page load.
But still there is issue on click each tabs. Menu layers not closing , when we click any where outside.
Also when we open the two layers of menus and shift between the two tabs. Two layered menus which was opened before is not closing. Please advice.