fix(header): fixed various problems with mobile safari