Sun Prairie slips past Middleton