Since Scroll Viewport has to work around a few limitations with links, which is why an anchor always includes a href-attribute.

Because the UI-Expand is working with those anchors, Scroll Viewport is reloading the page if clicking on the macro.

You can fix this problem by removing the href-attribute of the class rwui_expand via jQuery:

Removing href-attribute from .rwui_expand


It is the best for adding this script before the closing tag of the body.