fix photo galleries styles