Added sanity check to distance counter. Also better scrolling.