updated js scroll animation