Scrolling navigation script edit.

Work still in progress.