Click on a square next to the empty one to move the empty spot there.