Fix unused variable.
Pull out and reuse scroll_uri method.