Fix last no justifying bug

If Gallery has only 1 row And you want to they be no-justified - make this changes.