add photo grid, need to make box flip back

* [ ] make it flip back
* [ ] merge with index