If upon the trial of any appeal it shall appear to the jury that the appeal was frivolous and intended for delay only, they shall assess damages against the appellant and his security, if any, in favor of the appellee for such delay, not exceeding 25 percent on the principal sum which they shall find due, which damages shall be specially noted in their verdict.