Added support for movement of the piece.