Hiding or showing an element in SubtractJS can be accomplished by calling jQuery's .show, .hide, or .toggle and then calling SubtractJS.UpdateLayout() immediately after.

For example, this page uses the following event handler to show or hide the right element.
$("#showHide").click(function () {
    $("#featured").toggle();
    SubtractJS.UpdateLayout();
});