Pan narrow nodes at tree edges to viewport edge when zooming to them.

[finishes #61578964]