Recently, I was on a flight from Montreal to Vancouver. We were somewhere between Calgary and Vancouver when we started to fly strange manoeuvres:

The whole flight can be seen on FlightAware. We were definitively not yet approaching Vancouver airport and from the entertainement system I could see that we were at around 40000 feets, flying almost full speed.
So what are potential reasons for this flight pattern?
