Control of transonic buffet through deployable flaps