added findNearestPoint to ViewContainer