Gators use big run in the middle of the first half for 40-31 advantage