Redudant function _elementInViewport removed