Interrupt function

You can possibly use $w.EffectOptions to let Wix Code handle the show/hide.