Updated results view module

Image object's onLoad does not work correctly if it is not given a
function callback as callback instead of callback(). So we'll use
jQuery's load listener instead. Also, don't use i as the count since the
last looped image could load first potentially. Use a new global view
variable instead.