Add some functions for node movement