implemented tracking of arrangement of displayed elements