using setInterval() to dynamically show ig images