Added animations for onlick action.