added click event and basic animations.