slide js script adjustments