tracking xpos from gui