Fix scrolling to last image, add custom thumbs pages loading to prefs