Fixed indenting based on the optgroup options selected
fixed jumping due to hover while scrolling

also switched event binding to newer jQuery standard