better photo grid alignment