Fixing webkit display bugs for nav