trying another script to make carousel work