My try at making a lazy image loader