Removing code and placing preloader closer to top of page