resize (and restart) script stage when panels are toggled