Added sub nav functionality