While the drone is in the air, hold the stunt button, and use the right stick. The right stick will determine the direction that the stunt is done.
Note: Only works in Advanced Mode (2) and drone needs to be fully charged.