flash next page when animation ended