Make previousUrl a property of the router, so it isn't shared between the
different instances, and so each instance triggers its stuff properly.