Scroll the Thumbnail of the current page into view when exiting fullscreen mode

This PR fixes an issue with fullscreen mode where in some circumstances, particularly when going to the last page of a document while in fullscreen mode, the Thumbnails won't be scrolled into view properly when exiting fullscreen.

Follow up on #2509.