Clean up gallery view