got tabs working with nested templates