Added delay so that the resize and orientationchange events don't fire 2 ad reloads