Angular check if element is visible on screen. ViewChild makes it possible to access directives.