Adding CSS and better layout for galleries