It’s the control augmentation system, and the flaps should move around automatically in flight to optimize aircraft performance. I’ve seen it do this on deck (i.e. with weight-on-wheels), however, which I believe is not a correct representation of how they are supposed to function.