sets up criteriaview properties, fixes autolayout issues