client side for submenus introduced