Fix thumbnails count for slider display