added a 'searching' flag so that the blur isn't recalculated each time the search bar is clicked