added animation to game panel