fix bug in fixing header of relative width to top of screen