Added offset to capture scroll events on pop-up