autofocus input field if there is no query