Adds gallery layout styles