moved header bar to layout