contains for ellipse view