Use getBoundingClientRect to calc visibility
Use getBoundingClientRect().top to calculate the visibility of the placeholder. This fixes some problems if the placeholder is inside a wrapper (placeholder.offsiteTop doesn't work proper in some case).
Use getBoundingClientRect().top to calculate the visibility of the placeholder. This fixes some problems if the placeholder is inside a wrapper (placeholder.offsiteTop doesn't work proper in some case).