       @search_field.css({'width': w + 'px'})
 
       if @search_scroller
-        cw = @search_scroller.scrollLeft() + @search_scroller.width()
-        
+        cw = @search_scroller[0].scrollWidth
+
         @search_scroller.scrollLeft(cw - w)
   
   loading: (loading) ->


    @results_showing = true

    this.result_scopes_build()
    
    @search_field.focus()
    @search_field.val @search_field.val()


      @selected_item.removeClass("chosen-default")

    @selected_item.find("span").text(text)

    this.result_scopes_build()
    this.search_field_scale()

  result_narrow: (item) ->
    @scopes.push(item.value)
