changed left side navigation into directive