updated grapher to support click move of cursor