fixed the problem of animated pages