here is my way of doing it. you may put in how you implemented that.
<script> $(window).load(function(e){ $('div.loading-page').fadeOut('slow'); }); </script>
<div class="loading-page"></div>
css:
.loading-page{
position:fixed;
top:0;
bottom:0;
left:0;
right:0;
background:white;
z-index:1999; /* as pace has 2000 */
}