Add option to 3D viewer to follow the active node

So whenever the active node changes, the 3D viewer will re-center on it.
The setting can be found in the "Display" tab of the 3D viewer.

Fixes #624.