update script.js

intial toggle position changed to up