add preloading for pages