Fixes #59
Issue #58: fixed unnecessary recalculation of total steps

This was occurring every time the slider was moved