Moved the closing div for icon nav to before the search condition.