custom moveHighligthed when optgroup is present