Center the search result when it’s offscreen

Fixes #278