added jquery masonry
added jquery fliipy to events