moved styles earlier in tabs