added toggle to selected to pick glossary onclick listener