adds loader animation