Flexible control of movement in plants