When viewing any Ancestry DNA shared matches list, clicking on the matches profile photo will automatically navigate to the trees tab of the DNA match. Clicking the match name will automatically navigate to the shared matches tab of the DNA match.