added toggle class directive