focus on search input

- bug fix (missing id="q" attribute)
- do it only on the index page : on mobile phone if the search input gets the focus, half of the results are hidden by the keyboard.