more refactoring
even more refactoring
got 4x4 photo grid
gallery grid looks ok-ish
gallery looks ok-ish
a bit more polish