fn make_panel(
    ctx: &mut EventCtx<'_>,
    name: &str,
    scenes: &[Scene],
    make_task: &dyn Fn(&mut EventCtx<'_>) -> Widget,
    idx: usize
) -> Panel