gallery images are now sortable and presist properly