animation functions added & test pages modified