Include wrap option to the grid

This option will help a lot to create an image grid like http://codepen.io/sidfz/pen/Exuds