I agree with the rest that exercise is important. They need a venue to release their pent up frustrations. Try to ensure he exercises everyday, maybe run 5 rounds a day to exhaust his energy.
Try to sit down with him as if you are in class. Help him to look around for something to keep him occupied and is acceptable by the teacher. This can lessen his movement.
For more ideas, go to
www.raisingconfidentkids.com