update mouse control of goto definition