Added vertical mode for thumbnails. Improved scrolling mechanism for thumbnails area