Takes clientTop in account in getVisibleElements
Merge pull request #2905 from yurydelendik/issue-2880

Takes clientTop in account in getVisibleElements