update script js

fixed scroll top/back