removes search toggle listener