added resizer for resizing thumbnails