Changed flat view to support optional photos on rows to fix #150