added resizeThumbs() in filter/sorting