added dynamic display of search field