You may say something like, while I learned a lot during my time here, the opportunity for more advancement and growth may have extended my time with the company. I am still thankful for the experience that I was able to gain, and would definitely consider returning for the right opportunity in the future.