thumbnails state saved in localstorage