add fix to slider scripts