added some comments
navigating optgroups with keys