Clean up styles for gallery