Track whether an element is visible on screen