hook up keyboard navigation for screenshot galleries