I looks like a hi-five, as a Celtics fan I will say it was for the hate reason.
Probably it was a Ref tell him to move back, but the funny thing was Spolstra thought it was a hi-five and reached out for one.
But for the sake of hating the Heat and the continuation of saying that their games were fixed, it was a dang Hi-Five!!