optimizes thumbnail sprite