Customized mouse dragging code to sync gnatt view and task view