This will stop the computer from jumping around when documents are checked back in.
Click the Apple menu from the top left of your screen > Select System Preferences > Mission Control
Uncheck “When switching to an application”