preload and scroll thumbs on switch gallery
clear