animation during page change and replay