The flip flop nozzle extended to supersonic flows