Fidgeting helps concentration and focus.
Check out this article from Julie Beck at The Atlantic that discusses how fidgeting at work can help you concentrate and improve your work performance. It discusses how "occupying your hands" can help to remember and process information better.