Added proper way to grid images