Fixes large number of thumbnails leads to low memory

Due to huge number of pictures taken either by camera or
sceenshots, thumbnails of those pictures fills the internal
storage quickly in low internal memory device

Change-Id: If77e24c20feb89cd1755d308d6f3bc0348c528f9
CRs-Fixed: 650808