Quasar evolution via dark halo merger