Only scroll refs up if ref link would have been covered by refs panel.

Also centers the scrolled up ref link to the vertical center of the
part of the article web view visible above the refs panel.

Change-Id: If4faf645bcbf1c48f790d02a5f1bb6fa148b2f1c
Merge "Only scroll refs up if ref link would have been covered by refs panel."