updated image loading to conserve memory and scrolling speed