updated getBoundingClientRect