add setInterval and setTimeout functions to display tweets in sequence once page loads