Hide menu/back buttons while loading and show a loading div