resizing of search field for damage and department page