Orbit click content shows empty slide

Copied and modified the `link_custom()` code to fix https://github.com/zurb/foundation/issues/3840 and https://github.com/zurb/foundation/issues/3859

They could probably be merged into a single function, but this was quick.