Added ability to specify how many photos to show up on a row. Updated demo page to show new functionality