made gallery reordering safer and quicker (no more deleting, just renaming)