fixed some wrong behaviours of thumbnails container scrolling