delay animation until page loaded