Restore toggling functionality.