adding a cisibility threshold to inview