add active item class on singleItem mode