wrap span around totals to prevent weird line jumping bug