mobile header transition bug fix