Keeping track of loading pictures and only allowing 5 to load at a time