[new] autosizing of gallery pictures