removed keyframes and used transition