add navigation directive