page load transition fix