Check if elements are in viewport.