updated photogrid to be responsive