created a stacks-nav directive