Move loading bar to top and keep it there till file is downloaded