fix gallery styles