Refactored html class names. Added a special class for selected children.