Adding some class name depending on the orientation of the list (usefull for design)
Generating dist