hides the slider if the script fails to load