Changed the setTImeout from 0 to 500ms so I can test on iPad+iPhone