refactored mouse adapter section of editor screens to remove duplicated code