caching offsetLeft and offsetTop