Updated lazyloading to trigger on keyup as well as scroll events