Ensure slide diff calculation is a number

Updating the slide method to recalculate the "to" target as a number. Existing method had unexpected behavior when "to" was passed in as a string, as the + operator would concatenate, instead of adding.