Prevent the page from jumping on tree tab change

closes #7232