inital script for css animation queuing