fix(batch): back port patch to fix multiple page bug
feature(main_template, swipe,panel): adjust parameters

Now you can close by swipe out and click outside the panel