added animation when a piece is moved