Panthers coach Rivera to return for third season