added setting for active item's class