Update infinitePics.js

Added animation delay to keep loop from crashing mobile browsers.