added drawtext for displaying coords

Added functionality to display coordinates of the mouse, which will be
used to display coordinates of the dots when hovered.