prevent multiple elements being created every time a move is made