simplified scroll to logic, by making all calls to a new scrollToTrack function