More elegant solution to last commit

set_current_row now takes optional parameter "is_stopping" for when auto stop
is enabled.