Added conditional to check for hidden elements. All hidden elements will...

... be now be skipped. Previously elements with display:none; were lazy loaded, because their offset().top was zero