add viewList support with localstorage