Added smoothness to node switching.