updated nav class. fixed parent nav issue