fixing width of autocomplete and fixing autocomplete behaviour on searchresults