nav show up before page load bug