finished scaling of gallery