changed transition for animation