No. 25 Buffalo shakes off poor start, beats Toledo 88-82