header menu is now functional after new structure for views and subviews is implemented