Bee-Inspired Algorithm Helps UAVs Detect the Horizon For Improved Aerobatics