fix scroll issue
add getScroll method to dom.js for getting cross-browser scrollTop and scrollLeft