CON-1809 | Fix overlapping of anchored element

Please do not define function inside jQuery handler function attachment

``` JS
//.........

/**
 * @desc function description goes here
 * @param {Event} event - event object
 */
function scrollToLinkHandler(event) {
         //.... function body
}

$('body').on('click', 'a', scrollToLinkHandler);

//.......
```