added basic buffer that limits img elements in DOM
basic preloading implemented