CON-1809 | Fix overlapping of anchored element

consider splitting this code into two statements for better readability. For example:

``` JS
var offsetTop = element.getBoundingClientRect().top + w.pageYOffset - doc.documentElement.clientTop;

return offsetTop || 0;
```