draw images using deque order