add loading animation and background play