Only scroll the window up if needed

Checks to see if the target movie is in view before scrolling the window up. Fixes issue #863