Just think yourself lucky you renewed when you did!
Last "good" mortgage we had was 1.92% for 5 years and the last one we had for 2 years was 5.19% I think. Both of those were the best rates possible at the time as we have always had a LTV to get the best rates.
You've not only paid a much lower rate than we did at our best, you are remortgaging at the best time in 3+ years probably.
People can say its "good decision making" all they like but its luck for the most part. Luck as to when you need to take a mortgage out and how the market goes. We would almost certainly have locked in a 10 year fix after our last 5 year fix if it was up at the right time and rates were basically 1%. We didn't have such luck so when we came to renew, 5.19% along with probably another 2 more mortgages in that time with much worse rates. Will likely have cost us £50k or more all said and done.