Optimized some page animations