"Directives to check if a DOM element is in a specified viewport