distribute pictures equally in columns