Added check to see if maximum scroll is 0. If so, don't set indicator
value as it will show up as NaN%.