[WIP] Restore feature to scroll for annotations

Clicking on an annotation card will bring (one of the) highlights belonging to that annotation into the view in the document.
Is this check necessary? When would it ever not be an Object?