added subscribeToggleClass