Flyout – accordion effect

/* JS */

document.addEventListener('DOMContentLoaded', function() {
    fUtil().on('click', '.flyout-row h3', function() {
        fUtil(this).closest('.flyout-row').toggleClass('expanded');
    });
});

/* CSS */

.flyout-item {
    display: none;
}
.flyout-row h3 {
    cursor: pointer;
}
.flyout-row.expanded .flyout-item {
    display: block;
}