optimize all page ui