display loader gif icon before index page loaded