Optimize page loading bar