chagnes in media gallery for proper thumbnail row