Sorry if my post wasn't too much detailed as it should be.
I was using header-2 and the menu all of a sudden changed and displayed vertically. A colleague of mine restored the menu but to no avail.
I did some tweak to the header-1 layout and it showed the menu horizontally. Its a fix for now but I want to use the header-2 layout. I just need to understand what could've caused the menu to show vertically.