Recompute slider range for out-of-range values
Updated code to follow coding guidelines
Merge pull request #357 from vidarn/master

Recompute slider range for out-of-range values (issue #262)