hide search ul dropdown on outside click