Adding Animations, setting up the appearing functionality