slider works correctly

@taviscaron, check please, fixed #17