edited animation for 2, 5 and 8 pages