changed animation for pages