This Phase listener is necessary for the autoscroll feature.
Its only purpose is to determine the former viewId and store it in request scope
so that we can later determine if a navigation has happened during rendering.