* use memory limit instead of number of images in cache
    * cache images of window size instad of screen size