add nav directive