There is no way in hell that he did that on purpose.  Obviously the movement was done on purpose, as in he didn't just have a muscle spasm or something.  But he didn't do a Roman salute on purpose.  He was just making an unrelated gesture.  Probably to look like Ironman or some other capeshit, to be honest.