Moved animation code primarily back to chessTweening.js