Layout photos page by masonry.