How was it handball? Never in a million years was that deliberate.
I might be wrong, but as far as my understanding goes it doesn't need to be deliberate to be deemed a hand ball.
In Fifa's Laws of the Game 2005, Law 12 says a free-kick or penalty will be awarded if a player "handles the ball deliberately (except for the goalkeeper within his own penalty area)".
That's not the full rule though. Your arms can be raised and it wouldn't need to be deliberate, more careless.