add nav box directive