Fix vertical align select
Added a class for open state of submenus for js