fix webkit animation bug - setTimeout is hacky, please remove if possible.