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
Merge pull request #32 from comfortablyONE/smart_load

Added conditional to check for hidden elements. All hidden elements will...
Checking if the image is hidden before doing anything else

This way we avoid doing unnecessary work in case the image is actually
hidden