how to build loading screen