fixed weirdness with nav elements