slider fetches data if assetsData is not an array of images