Use Lib Masonry on Layout Horizontal

Hi i need use the lib masonry on layout horizontal, but i dont know what is the problem when align.

i based in this example:

and run perfect on Vertical layout but i need a Horizontal layout.

Something idea ?

i solved with plugin FreeWall.