added a page preloader for each page