Add threshold to lazy image loading

Signed-off-by: THE DINJ <thedinj@yahoo.com>