update div position, fixed main.js