optimizes thumbnails sprite