x position of marker as returning value from this Class to preview