Navigation menu directive improved