Working-ish (backporting to bootstrap 3 btw)