Cache thumbnails to support smooth zooming