implemnting view animatinos