introduced header view and ensured dom structure