revert gallery