tree successfully expands based on location