fixing pulse animation