Adding pinterest style layout for photos