nested ul element should be inside the preceding li not in a new one