modify the gallery style