Handle `collapsed` class on triggers even when manually invoked

Fixes #13636.
why isn't `'[data-toggle="collapse"]'` just the default value for the trigger option?