found bug GalleryPanel not work properly when reopen