fix bug in html header for mobile devices