Autofocus search field - fixes #2789

Fixes #2789 

This is a rather less dirty implementation of the thing but it works.
Happy to pair up to have it done the proper way.

![Bonjour Kaelig](http://s2.developerslife.ru/public/images/gifs/b983e8b8-7c58-4ca2-a65c-a493be6d407c.gif)