added the scripts needed to display the slider